/*
 * @Author: your name
 * @Date: 2020-09-15 16:14:10
 * @LastEditTime: 2020-09-15 16:20:50
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \inventory-apie:\hjimi\人脸\html\face-recognition\src\directive\acg.js
 */
import Vue from 'vue'
Vue.directive('focus', {
  inserted: function (el) {
    // 聚焦元素
    el.focus()
  }
})